﻿<%@ Page Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="SearchEmployees.aspx.cs" Inherits="TempEmployees.Web.WebForm3" Title="&#1495;&#1497;&#1508;&#1493;&#1513; &#1506;&#1493;&#1489;&#1491;&#1497;&#1501;" %>

<%@ Register Src="UserControls/GridViews/GridViewEmployees.ascx" TagName="GridViewEmployees"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="./Scripts/SelecetRadioButton.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="searchAssignments-table" dir="rtl">
        <tr>
            <td colspan="2">
                <input id="RadioByID" type="radio" runat="server" />
                <asp:Label ID="Label1" runat="server" Text="חיפוש לפי ת&quot;ז"></asp:Label>
                <asp:TextBox ID="TextBoxSearchId" runat="server"></asp:TextBox>
                <br />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input id="RadioByFilters" type="radio" runat="server" />
                <asp:Label ID="Label5" runat="server" Text="חיפוש כללי:"></asp:Label>
                <br />
                <asp:Label ID="Label2" runat="server" Text="&#1514;&#1511;&#1510;&#1497;&#1489;: "></asp:Label>
                <asp:DropDownList ID="DropDownListBudgetTypes" runat="server">
                </asp:DropDownList>
                <asp:Label ID="LabelDropDownDep" runat="server" Text="&#1502;&#1495;&#1500;&#1511;&#1492;: "></asp:Label>
                <asp:DropDownList ID="DropDownListDepartment" runat="server">
                </asp:DropDownList>
                <asp:Label ID="Label4" runat="server" Text="&#1505;&#1502;&#1505;&#1496;&#1512;: "></asp:Label>
                <asp:DropDownList ID="DropDownListSemester" runat="server">
                </asp:DropDownList>
                <asp:Label ID="LabelUser" runat="server" Text="&#1502;&#1506;&#1505;&#1497;&#1511;: "></asp:Label>
                <asp:DropDownList ID="DropDownListUsers" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <br />
                <asp:Button ID="ButtonSearchEmployee" runat="server" Text="&#1495;&#1508;&#1513;"
                    OnClick="ButtonSearchEmployee_Click" />
                <asp:Button ID="ExportToExcel" runat="server" OnClick="ExportToExcel_Click" Text="הפקת דוח" />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:UpdatePanel ID="UpdatePanelViewEmployees" runat="server">
                    <ContentTemplate>
                        <fieldset>
                            <legend class="legend">עובדים</legend>
                            <uc1:GridViewEmployees ID="GridViewEmployees1" runat="server" />
                        </fieldset>
                    </ContentTemplate>
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="ButtonSearchEmployee" />
                    </Triggers>
                </asp:UpdatePanel>
            </td>
        </tr>
    </table>
</asp:Content>
